﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using Rated.Website.Models;

namespace Rated.Website.Controllers
{
    public class ViewController : Controller
    {
        //
        // GET: /View/
        /// <summary>
        /// Shows the main profile page of the rated entity
        /// </summary>
        /// <param name="id"></param>
        /// <returns></returns>
        public ActionResult Index(int id)
        {
            return View(new ViewPageViewModel(id));
        }

        public ActionResult Rating(int id)
        {
            return View(new ViewPageViewModel(id));
        }
    }
}
